home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Utilities Experience
/
The Utilities Experience - Volume 1.iso
/
software
/
icons+tools
/
icontools-2.01
/
makefile
< prev
next >
Wrap
Makefile
|
1995-12-22
|
1KB
|
59 lines
# $VER: Makefile for OptIcon and Icon2C as of Thu Feb 3 03:10:12 1994
#
# (c)Copyright 1994 by Tobias Ferber
#
# This file is part of the Icon2C and OptIcon distribution.
#
# Icon2C and OptIcon are free software; you can redistribute them and/or
# modify them under the terms of the GNU General Public License as published
# by the Free Software Foundation; either version 1 of the License,
# or (at your option) any later version.
#
# Icon2C and Opticon are distributed in the hope that they will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with these programs; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
CC=gccv
CFLAGS=-ansi -Wall -O2 -I/include
LFLAGS=-L/usr/os-lib -lamiga
.PHONY: all
all: icon2c opticon
# --- opticon
opticon: opticon.o memfn.o
$(CC) $(LFLAGS) -o $@ $^
opticon.o: opticon.c
$(CC) $(CFLAGS) -c -o $@ $<
memfn.o: memfn.c
$(CC) $(CFLAGS) -c -o $@ $<
# --- icon2c
icon2c: icon2c.c
$(CC) $(CFLAGS) -o $@ $<
# --- docs
.PHONY: docs
docs:
autodoc -C opticon.c > opticon.doc
autodoc -C icon2c.c > icon2c.doc
# ---
.PHONY: clean
clean:
rm opticon opticon.o memfn.o icon2c